package cn.tedu.boyou.search.service;

import cn.tedu.boyou.search.template.TrafficTemplate;

public interface ITrafficSearchService {
    void createIndex();

    void save(TrafficTemplate template);

    /**
     * 通过名字查询数据
     * @param name
     * @return
     */
    TrafficTemplate queryTrafficByName(String name);
}
